package link.wangkui.learn.mybatis.plus.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DataDictionary {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String dataCode;
    private String dataValue;
    private String parentCode;
    private Integer sortNo;
    @Version
    private Integer version;
    @TableLogic
    private Integer isDeleted;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}


